package cn.iocoder.yudao.module.wms.dal.mysql.rdrecord08;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.wms.dal.dataobject.rdrecord08.Rdrecords08DO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 其他入库子 Mapper
 *
 * @author 曾劲松
 */
@Mapper
public interface Rdrecords08Mapper extends BaseMapperX<Rdrecords08DO> {

    default List<Rdrecords08DO> selectListByOrderId(Long orderId) {
        return selectList(Rdrecords08DO::getOrderId, orderId);
    }

    default int deleteByOrderId(Long orderId) {
        return delete(Rdrecords08DO::getOrderId, orderId);
    }
}
